<template>
	<view>
		<c-base-page :current="0" :navText="'首页'" :isShowBack="false">
			<!--学生端/家长端-->
			<template v-if="$userInfo && $userInfo.memberType === valMemberTypeStudent()">
				<student></student>
			</template>
			<!--教师端-->
			<template v-if="$userInfo && $userInfo.memberType === valMemberTypeEmployee()">
				<teacher></teacher>
			</template>
		</c-base-page>
	</view>
</template>

<script>
	import student from "../student/index.vue"
	import teacher from "../teacher/index.vue"
	export default {
		name: "pageIndex",
		components: { student, teacher },
		data() {
			return {
				
			}
		},
		onLoad() {
			
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	
</style>